import { ref } from 'vue';
// 分页自定义hooks函数
export function usePager() {
    const page = ref(1);
    const size = ref(5);
    const totalCount = ref(0);
    const finished = ref(false);
    const loading = ref(false);
    const isLoading = ref(false);

    return { page, size, totalCount, finished, loading, isLoading }
}